package com.bed.lovewithpatientbed.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MaintainExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public MaintainExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andMaintainIdIsNull() {
            addCriterion("maintain_id is null");
            return (Criteria) this;
        }

        public Criteria andMaintainIdIsNotNull() {
            addCriterion("maintain_id is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainIdEqualTo(Integer value) {
            addCriterion("maintain_id =", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdNotEqualTo(Integer value) {
            addCriterion("maintain_id <>", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdGreaterThan(Integer value) {
            addCriterion("maintain_id >", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("maintain_id >=", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdLessThan(Integer value) {
            addCriterion("maintain_id <", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdLessThanOrEqualTo(Integer value) {
            addCriterion("maintain_id <=", value, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdIn(List<Integer> values) {
            addCriterion("maintain_id in", values, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdNotIn(List<Integer> values) {
            addCriterion("maintain_id not in", values, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdBetween(Integer value1, Integer value2) {
            addCriterion("maintain_id between", value1, value2, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMaintainIdNotBetween(Integer value1, Integer value2) {
            addCriterion("maintain_id not between", value1, value2, "maintainId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdIsNull() {
            addCriterion("malfunction_id is null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdIsNotNull() {
            addCriterion("malfunction_id is not null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdEqualTo(Integer value) {
            addCriterion("malfunction_id =", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdNotEqualTo(Integer value) {
            addCriterion("malfunction_id <>", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdGreaterThan(Integer value) {
            addCriterion("malfunction_id >", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("malfunction_id >=", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdLessThan(Integer value) {
            addCriterion("malfunction_id <", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdLessThanOrEqualTo(Integer value) {
            addCriterion("malfunction_id <=", value, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdIn(List<Integer> values) {
            addCriterion("malfunction_id in", values, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdNotIn(List<Integer> values) {
            addCriterion("malfunction_id not in", values, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdBetween(Integer value1, Integer value2) {
            addCriterion("malfunction_id between", value1, value2, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionIdNotBetween(Integer value1, Integer value2) {
            addCriterion("malfunction_id not between", value1, value2, "malfunctionId");
            return (Criteria) this;
        }

        public Criteria andBedIdIsNull() {
            addCriterion("bed_id is null");
            return (Criteria) this;
        }

        public Criteria andBedIdIsNotNull() {
            addCriterion("bed_id is not null");
            return (Criteria) this;
        }

        public Criteria andBedIdEqualTo(Integer value) {
            addCriterion("bed_id =", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdNotEqualTo(Integer value) {
            addCriterion("bed_id <>", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdGreaterThan(Integer value) {
            addCriterion("bed_id >", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bed_id >=", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdLessThan(Integer value) {
            addCriterion("bed_id <", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdLessThanOrEqualTo(Integer value) {
            addCriterion("bed_id <=", value, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdIn(List<Integer> values) {
            addCriterion("bed_id in", values, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdNotIn(List<Integer> values) {
            addCriterion("bed_id not in", values, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdBetween(Integer value1, Integer value2) {
            addCriterion("bed_id between", value1, value2, "bedId");
            return (Criteria) this;
        }

        public Criteria andBedIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bed_id not between", value1, value2, "bedId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdIsNull() {
            addCriterion("malfunction_type_id is null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdIsNotNull() {
            addCriterion("malfunction_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdEqualTo(Integer value) {
            addCriterion("malfunction_type_id =", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdNotEqualTo(Integer value) {
            addCriterion("malfunction_type_id <>", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdGreaterThan(Integer value) {
            addCriterion("malfunction_type_id >", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("malfunction_type_id >=", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdLessThan(Integer value) {
            addCriterion("malfunction_type_id <", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("malfunction_type_id <=", value, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdIn(List<Integer> values) {
            addCriterion("malfunction_type_id in", values, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdNotIn(List<Integer> values) {
            addCriterion("malfunction_type_id not in", values, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("malfunction_type_id between", value1, value2, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andMalfunctionTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("malfunction_type_id not between", value1, value2, "malfunctionTypeId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdIsNull() {
            addCriterion("bed_status_id is null");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdIsNotNull() {
            addCriterion("bed_status_id is not null");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdEqualTo(Integer value) {
            addCriterion("bed_status_id =", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdNotEqualTo(Integer value) {
            addCriterion("bed_status_id <>", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdGreaterThan(Integer value) {
            addCriterion("bed_status_id >", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bed_status_id >=", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdLessThan(Integer value) {
            addCriterion("bed_status_id <", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdLessThanOrEqualTo(Integer value) {
            addCriterion("bed_status_id <=", value, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdIn(List<Integer> values) {
            addCriterion("bed_status_id in", values, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdNotIn(List<Integer> values) {
            addCriterion("bed_status_id not in", values, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdBetween(Integer value1, Integer value2) {
            addCriterion("bed_status_id between", value1, value2, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andBedStatusIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bed_status_id not between", value1, value2, "bedStatusId");
            return (Criteria) this;
        }

        public Criteria andMaintainInforIsNull() {
            addCriterion("maintain_infor is null");
            return (Criteria) this;
        }

        public Criteria andMaintainInforIsNotNull() {
            addCriterion("maintain_infor is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainInforEqualTo(String value) {
            addCriterion("maintain_infor =", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforNotEqualTo(String value) {
            addCriterion("maintain_infor <>", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforGreaterThan(String value) {
            addCriterion("maintain_infor >", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforGreaterThanOrEqualTo(String value) {
            addCriterion("maintain_infor >=", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforLessThan(String value) {
            addCriterion("maintain_infor <", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforLessThanOrEqualTo(String value) {
            addCriterion("maintain_infor <=", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforLike(String value) {
            addCriterion("maintain_infor like", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforNotLike(String value) {
            addCriterion("maintain_infor not like", value, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforIn(List<String> values) {
            addCriterion("maintain_infor in", values, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforNotIn(List<String> values) {
            addCriterion("maintain_infor not in", values, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforBetween(String value1, String value2) {
            addCriterion("maintain_infor between", value1, value2, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andMaintainInforNotBetween(String value1, String value2) {
            addCriterion("maintain_infor not between", value1, value2, "maintainInfor");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Integer value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Integer value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Integer value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Integer value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Integer value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Integer> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Integer> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Integer value1, Integer value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andMaintainStateIsNull() {
            addCriterion("maintain_state is null");
            return (Criteria) this;
        }

        public Criteria andMaintainStateIsNotNull() {
            addCriterion("maintain_state is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainStateEqualTo(Integer value) {
            addCriterion("maintain_state =", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateNotEqualTo(Integer value) {
            addCriterion("maintain_state <>", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateGreaterThan(Integer value) {
            addCriterion("maintain_state >", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("maintain_state >=", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateLessThan(Integer value) {
            addCriterion("maintain_state <", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateLessThanOrEqualTo(Integer value) {
            addCriterion("maintain_state <=", value, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateIn(List<Integer> values) {
            addCriterion("maintain_state in", values, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateNotIn(List<Integer> values) {
            addCriterion("maintain_state not in", values, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateBetween(Integer value1, Integer value2) {
            addCriterion("maintain_state between", value1, value2, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainStateNotBetween(Integer value1, Integer value2) {
            addCriterion("maintain_state not between", value1, value2, "maintainState");
            return (Criteria) this;
        }

        public Criteria andMaintainDateIsNull() {
            addCriterion("maintain_date is null");
            return (Criteria) this;
        }

        public Criteria andMaintainDateIsNotNull() {
            addCriterion("maintain_date is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainDateEqualTo(Date value) {
            addCriterionForJDBCDate("maintain_date =", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("maintain_date <>", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateGreaterThan(Date value) {
            addCriterionForJDBCDate("maintain_date >", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("maintain_date >=", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateLessThan(Date value) {
            addCriterionForJDBCDate("maintain_date <", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("maintain_date <=", value, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateIn(List<Date> values) {
            addCriterionForJDBCDate("maintain_date in", values, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("maintain_date not in", values, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("maintain_date between", value1, value2, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andMaintainDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("maintain_date not between", value1, value2, "maintainDate");
            return (Criteria) this;
        }

        public Criteria andSoftdelIsNull() {
            addCriterion("softdel is null");
            return (Criteria) this;
        }

        public Criteria andSoftdelIsNotNull() {
            addCriterion("softdel is not null");
            return (Criteria) this;
        }

        public Criteria andSoftdelEqualTo(Integer value) {
            addCriterion("softdel =", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotEqualTo(Integer value) {
            addCriterion("softdel <>", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelGreaterThan(Integer value) {
            addCriterion("softdel >", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelGreaterThanOrEqualTo(Integer value) {
            addCriterion("softdel >=", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelLessThan(Integer value) {
            addCriterion("softdel <", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelLessThanOrEqualTo(Integer value) {
            addCriterion("softdel <=", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelIn(List<Integer> values) {
            addCriterion("softdel in", values, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotIn(List<Integer> values) {
            addCriterion("softdel not in", values, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelBetween(Integer value1, Integer value2) {
            addCriterion("softdel between", value1, value2, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotBetween(Integer value1, Integer value2) {
            addCriterion("softdel not between", value1, value2, "softdel");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}